configuration DebugMessageDispatcherC {
	uses interface MainMotorDebug;
}

implementation {
	components DebugMessageDispatcherP;
	DebugMessageDispatcherP.MainMotorDebug = MainMotorDebug;
	
	components new SerialAMSenderC(AM_TANK_DEBUG_PID_MSG) as SendDebugInfoC;
	DebugMessageDispatcherP.SendDebugInfo -> SendDebugInfoC;

	components SerialActiveMessageC as AM;
	DebugMessageDispatcherP.AMControl -> AM;
	DebugMessageDispatcherP.Packet -> AM;
	
}
